package com.yonyou.cyxdms.basedata.service.dto.questionaire;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * 问卷DTO
 *
 * @author dengqiang
 * @since 2019/9/20
 */
public class QuestionnaireDTO implements Serializable {

    @ApiModelProperty(value = "问卷ID", name = "questionnaireId")
    private Long questionnaireId;

    @ApiModelProperty(value = "是否启用", name = "isValid")
    private Integer isValid;

    @ApiModelProperty(value = "问卷名称", name = "questionnaireName")
    private String questionnaireName;

    @ApiModelProperty(value = "问卷类型(1572)", name = "questionnaireType")
    private Integer questionnaireType;

    @ApiModelProperty(value = "问题信息", name = "questionList")
    private List<QuestionInDTO> questionList;

    @ApiModelProperty(value = "版本号，修改时需要传，新增不传", name = "recordVersion")
    private Integer recordVersion;

    public Long getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(Long questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public String getQuestionnaireName() {
        return questionnaireName;
    }

    public void setQuestionnaireName(String questionnaireName) {
        this.questionnaireName = questionnaireName;
    }

    public Integer getQuestionnaireType() {
        return questionnaireType;
    }

    public void setQuestionnaireType(Integer questionnaireType) {
        this.questionnaireType = questionnaireType;
    }

    public List<QuestionInDTO> getQuestionList() {
        return questionList;
    }

    public void setQuestionList(List<QuestionInDTO> questionList) {
        this.questionList = questionList;
    }

    public Integer getRecordVersion() {
        return recordVersion;
    }

    public void setRecordVersion(Integer recordVersion) {
        this.recordVersion = recordVersion;
    }
}
